package net.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import net.dao.RasgoDao;
import net.model.Rasgo;
import net.service.RasgoManager;

@Service
public class RasgoManagerImpl implements RasgoManager {

	@Autowired
	private RasgoDao rasgoDao;

	@Transactional
	public List<Rasgo> getAllRasgo() {
		return rasgoDao.getAllRasgo();
	}

	@Transactional
	public void saveRasgo(Rasgo rasgo) {
		rasgoDao.saveRasgo(rasgo);
	}

}
